global root_dir = "`1'"

include "$root_dir/code/config/config.do"

cap noi log using ${log_dir}/install_require.log, replace name(require)

capture noi {
    ssc install require
}
if _rc == 0 {
    display "Execution finished successfully."
}
else {
    display "Execution finished with errors."
}

cap log close require